package cn.iocoder.yudao.module.wine.controller.admin.businessuser.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商家配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BusinessUserPageReqVO extends PageParam {

    @Schema(description = "商家类型：0--业务代表，1--法人代表", example = "2")
    private Integer businessType;

    @Schema(description = "区域ID", example = "1965")
    private Integer areaId;

    @Schema(description = "上级老板用户ID，0--为老板", example = "25334")
    private Long parentId;

    @Schema(description = "当前用户ID", example = "16008")
    private Long userId;

    @Schema(description = "账号类型：0--老板，1--员工", example = "2")
    private Integer userType;

    @Schema(description = "商家信用等级，关联business_credit表信用等级level值", example = "22904")
    private Integer creditId;

    @Schema(description = "公司名称", example = "赵六")
    private String companyName;

    @Schema(description = "公司营业执照")
    private String companyImage;

    @Schema(description = "身份证")
    private String cardImage;

    @Schema(description = "身份证背面照片")
    private String cardBackImage;

    @Schema(description = "生活合照")
    private String liveImage;

    @Schema(description = "许可证照")
    private String licenseImage;

    @Schema(description = "收货地址")
    private String receiveAddress;

    @Schema(description = "发货地址")
    private String deliveryAddress;

    @Schema(description = "可发布供应条数")
    private Integer supplyNum;

    @Schema(description = "可发布求购条数")
    private Integer buyNum;

    @Schema(description = "可发布投诉条数")
    private Integer complainNum;

    @Schema(description = "可发布离职通告条数")
    private Integer leaveNum;

    @Schema(description = "商家状态：0--刚申请，1--已审核并认证，2--已拒绝", example = "1")
    private Integer status;

    @Schema(description = "商家认证：0--未认证，1--已认证，2--认证失效")
    private Integer isAuth;

    @Schema(description = "是否开启相关功能")
    private Integer isOpen;

    @Schema(description = "是否平台自营 1是2否")
    private Integer isSelfSupport ;
    /**
     * 保证金内容：5W保证金
     */
    @Schema(description = "保证金内容")
    private  String bondName;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "电话")
    private String mobile;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "认证时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] authTime;

    @Schema(description = "有效时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] overTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
